package com.vn.ld.user.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.vn.ld.btc.dao.ICustomerDao;
import com.vn.ld.btc.dao.entity.Customer;
import com.vn.ld.user.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private ICustomerDao<Customer> customerDao;

	public List<Customer> getAllCustomer() {
		return this.customerDao.findAll();
	}

	@Override
	public Customer registerCustomer(Customer customer) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Customer updateCustomer(Integer customerId, Customer customer) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Customer findCustomerById(Integer customerId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Customer findCustomerByEmail(String email) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Customer login(String email, String password) {
		// TODO Auto-generated method stub
		return null;
	}
}
